﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ThreeByte.ActiveDeck.Config;

namespace ThreeByte.ActiveDeck.AddIn.Controls.Wizard.Themes
{
    public class WizardTheme
    {

        public string Name { get; private set; }
        public GraphicResource Background { get; private set; }

        public WizardTheme(string name, GraphicResource background) {

            Name = name;
            Background = background;

        }

        public static readonly IEnumerable<WizardTheme> Themes;
        public static readonly WizardTheme Default;
        public static readonly WizardTheme Corporate;
        public static readonly WizardTheme Floral;
        public static readonly WizardTheme Midnight;
        
        static WizardTheme() {

            Default = new WizardTheme("Default", new GraphicResource("Default_Background", new Uri("pack://application:,,,/Controls/Wizard/Themes/default.jpg"), ImageType.JPEG));
            Corporate = new WizardTheme("Corporate", new GraphicResource("Corporate_Background", new Uri("pack://application:,,,/Controls/Wizard/Themes/blue_rain.jpg"), ImageType.JPEG));
            Floral = new WizardTheme("Floral", new GraphicResource("Floral_Background", new Uri("pack://application:,,,/Controls/Wizard/Themes/flower.jpg"), ImageType.JPEG));
            Midnight = new WizardTheme("Midnight", new GraphicResource("Midnight_Background", new Uri("pack://application:,,,/Controls/Wizard/Themes/midnight.jpg"), ImageType.JPEG));
            
            List<WizardTheme>  themeList = new List<WizardTheme>();
            themeList.Add(Corporate);
            themeList.Add(Floral);
            themeList.Add(Midnight);

            Themes = themeList;
        }

    }

}
